var orderDetail={
  orderId: "1fc163c7e6029546c3988ac5a09a11da",
  orderUserName:'李大帅',
  orderUserPhone:'+200.00',
  orderAddress:'零食类',
  orderFkType:'20200612018',
  orderPsType:'微信支付',
  orderText:'2020-06-12 18:12',
  orderUrl:"../image/jiangyou.jpg",
};

var ns, toast;
var app = new Vue({
    el: '#app',
    data: {
        id: 0,
        form:{},
    },
    methods: {
        get_data: function() {
            var that = this;
            ns.post({
                action: 'getmallorderxqbyid',
                id: that.id,
            }, function(succeed, data, err) {
                if (succeed) {
                    //alert(JSON.stringify(data));
                     that.form = data;
                } else {
                    api.toast({
                        msg: err,
                        duration: 2000,
                        location: 'bottom'
                    });
                }
            });
        },
    }
});
apiready = function() {
    api.parseTapmode();
    ns = window.Foresight.Util;
    app.id = api.pageParam.id;
    app.get_data();
};
